#pragma once
#define ROW 9
#define COL 9
#define COLS COL+2
#define ROWS ROW+2
#define Mines 10
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

void CSH_qipan(char qipan[ROWS][COLS], int rows, int cols, char set);
void DaYin_qipan(char qipan[ROW][COL], int row, int col);
void SetMine(char arr[ROWS][COLS], int row, int col);
int GetMine(char mine[ROWS][COLS], int x, int y);
void SearchMine(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);